home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 8
/
CU Amiga Magazine's Super CD-ROM 08 (1997)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1997-03].iso
/
initcd
< prev
next >
Wrap
Text File
|
1996-12-23
|
2KB
|
91 lines
; CUCD Init Script
;
; Set up assigns etc. both for users booting from the CD and from HD
;
; Version 1.1 - Changed jpegtmp
;
; Version 1.2 - Added uninit option
;
If $CDInit EQ TRUE
If $CDBoot EQ TRUE ; don't run UninitCD if booted from CD
echo "*NYou do not need to run InitCD when you have booted from the CD"
Quit
EndIf
set remass `RequestChoice "InitCD" "You have already run InitCD once.*NDo you wish to remove the assigns and paths added before?" "Remove|Cancel"`
If $remass EQ 1
execute UnInitCD
EndIf
Quit
EndIf
Assign CUCD: :
; Set these assigns and paths only if not booting from CD
IF $CDBoot NOT EQ TRUE
SetEnv CDInit TRUE
echo "*NMaking assigns necessary for CD software"
echo "*NPlease wait... " NOLINE
Assign Fonts: CUCD:Fonts ADD
Assign ENV: CUCD:prefs/env-archive ADD
Assign Libs: CUCD:Libs ADD
Assign L: CUCD:L ADD
Assign S: CUCD:S ADD
Path CUCD:C CUCD:System CUCD:Utilities CUCD:S CUCD:Rexxc ADD
EndIF
; Set some system assigns
Assign CLASSES: CUCD:Classes ADD
Assign tcpdldir: CUCD:WWW
Assign HTTPJ: tcpdldir:http
Assign VMEM: T: ; For SuperView
Assign GM: CUCD:System/GMPlay
;BEGIN JPEG Codec
Assign JPEGTMP: EXISTS >NIL:
IF WARN
Assign JPEGTMP: "T:"
EndIf
;END JPEG Codec
; Add paths
Path GM: ADD
; Set path to Delitracker Config.
SetENV DeliConfig "CUCD:System/DeliTracker/DeliConfig"
; Add MUI if no MUI installed.
Assign MUI: EXISTS >NIL:
IF WARN
Assign MUI: CUCD:System/MUI
Assign Libs: MUI:Libs ADD
Assign LOCALE: MUI:Locale ADD
EndIf
; start arexx
SYS:System/RexxMast >NIL:
Run > NIL: CUCD:C/CenterTitles
;BEGIN NewIcons
Status >NIL: com=C:NewIcons
If WARN
Run <NIL: >NIL: CUCD:C/NewIcons
CUCD:C/DefIcons
EndIf
;END NewIcons
;BEGIN ClassAct
CUCD:C/CAPrefs >NIL:
;END ClassAct
; Set assigns and paths for programs on this CD
:rexxc/rx :C/MakeAssigns
IF $CDBoot NOT EQ TRUE
LoadWB NEWPATH
echo "All done"
EndIf